package com.javatip.project.detection.detectionTrainMission.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.javatip.framework.web.domain.BaseEntity;
import java.util.Date;
    
/**
 * 目标检测训练任务表 detection_train_mission
 * 
 * @author 袁伟
 * @date 2024-09-27
 */
public class DetectionTrainMission extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 训练任务名称 */
	private String trainMissionName;
	/**  */
	private String modelName;
	/** 训练集名称 */
	private String datasetTrainName;
	/** 验证集名称 */
	private String datasetValName;
	/** batch size */
	private Integer batchSize;
	/** epoch */
	private Integer epoch;
	/** 训练状态 */
	private String status;
	/** 早停 */
	private Integer earlyStop;
	/** 学习率 */
	private Float opLr;
	/** 归属用户id */
	private Integer userId;
	/** 训练集id */
	private Integer datasetTrainId;
	/** 验证集id */
	private Integer datasetValId;
	/** 所选模型id */
	private Integer modelId;
	/**  */
	private Integer progress;
	/** 开始时间 */
	private Date beginTime;
	/** 结束时间 */
	private Date endTime;
	/** 添加到队列的时间 */
	private Date timeToQueue;
	/** 是否公开 */
	private Integer isPublic;
	/** 是否有预训练权重 */
	private String isWeight;

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId()
	{
		return id;
	}
	public void setTrainMissionName(String trainMissionName)
	{
		this.trainMissionName = trainMissionName;
	}

	public String getTrainMissionName()
	{
		return trainMissionName;
	}
	public void setModelName(String modelName)
	{
		this.modelName = modelName;
	}

	public String getModelName()
	{
		return modelName;
	}
	public void setDatasetTrainName(String datasetTrainName)
	{
		this.datasetTrainName = datasetTrainName;
	}

	public String getDatasetTrainName()
	{
		return datasetTrainName;
	}
	public void setDatasetValName(String datasetValName)
	{
		this.datasetValName = datasetValName;
	}

	public String getDatasetValName()
	{
		return datasetValName;
	}
	public void setBatchSize(Integer batchSize)
	{
		this.batchSize = batchSize;
	}

	public Integer getBatchSize()
	{
		return batchSize;
	}
	public void setEpoch(Integer epoch)
	{
		this.epoch = epoch;
	}

	public Integer getEpoch()
	{
		return epoch;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}
	public void setEarlyStop(Integer earlyStop)
	{
		this.earlyStop = earlyStop;
	}

	public Integer getEarlyStop()
	{
		return earlyStop;
	}
	public void setOpLr(Float opLr)
	{
		this.opLr = opLr;
	}

	public Float getOpLr()
	{
		return opLr;
	}
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getUserId()
	{
		return userId;
	}
	public void setDatasetTrainId(Integer datasetTrainId)
	{
		this.datasetTrainId = datasetTrainId;
	}

	public Integer getDatasetTrainId()
	{
		return datasetTrainId;
	}
	public void setDatasetValId(Integer datasetValId)
	{
		this.datasetValId = datasetValId;
	}

	public Integer getDatasetValId()
	{
		return datasetValId;
	}
	public void setModelId(Integer modelId)
	{
		this.modelId = modelId;
	}

	public Integer getModelId()
	{
		return modelId;
	}
	public void setProgress(Integer progress)
	{
		this.progress = progress;
	}

	public Integer getProgress()
	{
		return progress;
	}
	public void setBeginTime(Date beginTime)
	{
		this.beginTime = beginTime;
	}

	public Date getBeginTime()
	{
		return beginTime;
	}
	public void setEndTime(Date endTime)
	{
		this.endTime = endTime;
	}

	public Date getEndTime()
	{
		return endTime;
	}
	public void setTimeToQueue(Date timeToQueue)
	{
		this.timeToQueue = timeToQueue;
	}

	public Date getTimeToQueue()
	{
		return timeToQueue;
	}
	public void setIsPublic(Integer isPublic)
	{
		this.isPublic = isPublic;
	}

	public Integer getIsPublic()
	{
		return isPublic;
	}
	public void setIsWeight(String isWeight)
	{
		this.isWeight = isWeight;
	}

	public String getIsWeight()
	{
		return isWeight;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("trainMissionName", getTrainMissionName())
				.append("modelName", getModelName())
				.append("datasetTrainName", getDatasetTrainName())
				.append("datasetValName", getDatasetValName())
				.append("batchSize", getBatchSize())
				.append("epoch", getEpoch())
				.append("status", getStatus())
				.append("earlyStop", getEarlyStop())
				.append("opLr", getOpLr())
				.append("userId", getUserId())
				.append("datasetTrainId", getDatasetTrainId())
				.append("datasetValId", getDatasetValId())
				.append("modelId", getModelId())
				.append("progress", getProgress())
				.append("createTime", getCreateTime())
				.append("beginTime", getBeginTime())
				.append("endTime", getEndTime())
				.append("timeToQueue", getTimeToQueue())
				.append("isPublic", getIsPublic())
				.append("isWeight", getIsWeight())
				.toString();
	}
}
